<?php

/**
 * @author FROSTY (valik619)
 * @site nadmad.ru
 * @mail valik619@inbox.ru
 */

$categories=mysql_query("SELECT * FROM `cat` ORDER BY `order`");
while($row=mysql_fetch_assoc($categories)){
    echo '<div class="title"><a href="cat/index.php?id='.$row['id'].'">'.$row['name'].'</a></div>';
    echo '<div class="small">'.$row['soft'].'</div>';
    };

/**
 * @author FROSTY (valik619)
 * @site nadmad.ru
 * @mail valik619@inbox.ru
 */

?>